package org.example.dao.Impl;

import org.example.dao.UserDao;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component
//Dao专用注解
//@Repository("userDaoImpl")
public class UserDaoImpl implements UserDao {
    public void save() {
        System.out.println("保存用户信息");
    }

    public void getList() {
        System.out.println("获取用户列表");
    }
}
